<template>
	<view class="main">
		<view class="contV">
			<uv-collapse accordion>
				<uv-collapse-item :title="i.name" :isLink="i.children&&i.children.length" v-for="(i,o) in mainList" :key="o">
					<uv-collapse accordion :border="false">
						<uv-collapse-item :title="n.name" :isLink="n.children&&n.children.length" :border="false"
							v-for="(n,m) in i.children" :key="m">
							<uv-collapse accordion :border="false">
								<uv-collapse-item :title="j.name" :border="false" :isLink="false" v-for="(j,k) in n.children" :key="k">

								</uv-collapse-item>
							</uv-collapse>
						</uv-collapse-item>
					</uv-collapse>
				</uv-collapse-item>
			</uv-collapse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				mainList: [{
						name: '医务科',
						children: [{
								name: '急诊科',
								children: [{
									name: '120急救站'
								}, {
									name: '急诊内科'
								}, ]
							},
							{
								name: '重症医学科'
							},
							{
								name: '预防保健科'
							},
							{
								name: '健康教育科'
							},
							{
								name: '内一科',
								children: [{
									name: '心血管内科'
								}, {
									name: '呼吸内科'
								}, {
									name: '血液内科'
								}, ]
							},
							{
								name: '内二科',
								children: [{
									name: '神经内科'
								}, {
									name: '消化内科'
								}, {
									name: '内分泌'
								}, {
									name: '肾内科'
								}, ]
							},
							{
								name: '皮肤科'
							},
							{
								name: '眼耳鼻咽喉科'
							},
							{
								name: '感染性疾病科'
							},
							{
								name: '口腔科'
							},
							{
								name: '外一科',
								children: [{
									name: '骨科'
								}, {
									name: '神经外科'
								}, {
									name: '胸外科'
								}, ]
							},
							{
								name: '外二科',
								children: [{
									name: '普通外科'
								}, {
									name: '泌尿外科'
								}, ]
							},
							{
								name: '中医科'
							},
							{
								name: '麻醉科'
							},
							{
								name: '妇产科',
								children: [{
									name: '妇科'
								}, {
									name: '产科'
								}, {
									name: '计划生育'
								}, ]
							},
							{
								name: '儿科',
								children: [{
									name: '儿内科'
								}, {
									name: '新生儿'
								}, ]
							},
							{
								name: '病案室'
							},
							{
								name: '图书室'
							},
						]
					},
					{
						name: '物价检查'
					},
					{
						name: '门诊收费室'
					},
					{
						name: '住院部收费室'
					},
					{
						name: '总务科'
					},
					{
						name: '院办公室'
					},
					{
						name: '药剂'
					},
					{
						name: '护理部',
						children: [{
							name: '护理科'
						}, {
							name: '控感办'
						}, {
							name: '供应室'
						}, ]
					},
					{
						name: '医技科',
						children: [{
							name: '心电图室'
						}, {
							name: 'B超室'
						}, {
							name: '放射科'
						}, {
							name: '检验科'
						}, {
							name: '病理科'
						}, ]
					},
				]
			}
		},
		mounted() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.main {}
</style>